package com.linksfield.topup.entity.interfaces.ordermanage.search.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 订单管理：搜索时整个返回体要包含两个部分：计算的内容+订单列表
 * request：前端 RequestOrderSearch
 * response：后端 ResponseOrderSearch （ResponseOrderCalculateCount +ResponseServicePlanOrder）
 *
 * @author: lm
 * @date: 2019-12-09 15:40
 */
@Data
public class ResponseOrderSearch implements Serializable {

    private static final long serialVersionUID = 1120520303231684393L;
    @ApiModelProperty(value = "不同状态对应计算出的套餐条数", example = "", dataType = "Object")
    private ResponseOrderCalculateCount calculateCount;

    @ApiModelProperty(value = "订单集合", example = "", dataType = "Object")
    private List<ResponseServicePlanOrder> orderList;
}
